{% extends "base.html" %}
{% block content %}
   <div class="alert">可选择操作系统列表</div>
   <ul>
    {% for img in imgs %}
        <li>{{ img.name }}</li>
    {% endfor %}
   </ul>
   <div class="alert">可选择配额列表</div>
   <table class="table">
       <thead>
        <tr>
            <td>名称</td>
            <td>CPU</td>
            <td>内存</td>
            <td>存储</td>
        </tr>
       </thead>
       <tbody>
        {% for flavor in flavors %}
            <tr>
                <td>{{ flavor.name }}</td>
                <td>{{ flavor.vcpus }}核</td>
                <td>{{ flavor.ram }}M</td>
                <td>{{ flavor.disk }}G</td>
            </tr>
        {% endfor %}
       </tbody>
   </table>


{% endblock %}